package day06;

public class ArrayDemo {
    public static void main(String[] args) {
          int []a={1,2,3,4,5,6,7};
          int []b=new int [8];
          System.arraycopy(a,1,b,1,3);
          for (int i=0;i<b.length;i++){
              System.out.println(b[i]);
          }
    }
}
